from django.conf.urls import url
from apps.oauth import views

urlpatterns = [
    # url(r'^admin/', admin.site.urls),
    # 获取code
    url(r'^qq/login/$', views.QQoauth.as_view(),name="QQlogin"),
    # 获取token和openid
    url(r'^oauth_callback/$',views.QQtokenOpenidView.as_view(),name="QQtoid")
]